﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="InventoryList.aspx.cs"
    Inherits="CRS.Web.BaseData.InventoryList" %>

<%@ Register Assembly="VitCode.Web.UI.PaginationGrid" Namespace="VitCode.Web.UI"
    TagPrefix="PaginationGrid" %>
<%@ Register TagPrefix="uc1" TagName="DateCtl_1_1" Src="~/UserControls/DateCtl.ascx" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>盘点单列表</title>
    <link href="../ScriptFiles/CSS/Main.css" type="text/css" rel="stylesheet" />
</head>
<body>
    <form id="form1" runat="server">
    <div class="PageNav">
        盘点单列表
    </div>
    <div>
        <table id="Table1" runat="server" class="tableElse" width="100%" style="border: 1px solid #A8CFEB;
            margin-top: 2px;">
            <tr>
                <td class="tdPageObjProMemo" style="width: 64px;">
                    单号：
                </td>
                <td class="tdPageObjProMemo">
                    <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="tdPageObjProMemo" style="width: 64px;">
                    创建日期：
                </td>
                <td class="tdPageObjProMemo">
                    <uc1:DateCtl_1_1 ID="DateCtl1" runat="server" />
                    &nbsp;~&nbsp;
                    <uc1:DateCtl_1_1 ID="DateCtl2" runat="server" />
                </td>
            </tr>
            <tr>
                <td class="tdPageObjProMemo" style="width: 64px">
                    状态：
                </td>
                <td class="tdPageObjProMemo">
                    <asp:CheckBox ID="CheckBox1" runat="server" Text="新建" />
                    <asp:CheckBox ID="CheckBox2" runat="server" Text="盘点中" />
                    <asp:CheckBox ID="CheckBox3" runat="server" Text="已完成" />
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    <asp:Button runat="server" ID="btnQuery" Text="查 询" class="btn_mouseout"
                                onmouseover="this.className='btn_mouseover' " onmouseout="this.className='btn_mouseout' "
                                onmousedown="this.className='btn_mousedown'" 
                        onmouseup="this.className='btn_mouseup'" onclick="btnQuery_Click"/>&nbsp;<asp:Button runat="server"
                        ID="btnAdd" Text="新 增" OnClick="btnAdd_Click" class="btn_mouseout"
                                onmouseover="this.className='btn_mouseover' " onmouseout="this.className='btn_mouseout' "
                                onmousedown="this.className='btn_mousedown'" onmouseup="this.className='btn_mouseup'"/>
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    <PaginationGrid:PaginationGrid ID="pgList" Width="100%" runat="server" DataKeyField="WoCode"
                        OnOnGridItemSelect="pgList_OnGridItemSelect" DataPaginationMode="Normal" DataFileFormat="Excel"
                        AutoGenerateColumns="False" SortExpression="WoCode desc" AutoSort="True">
                        <Columns>
                            <PaginationGrid:PaginationGridButtonColumn CommandType="Select"
                                Text="&lt;img src='/Images/edit.gif' border=0&gt;" HeaderText="选择">
                                <HeaderStyle Width="32px" />
                            </PaginationGrid:PaginationGridButtonColumn>
                            <PaginationGrid:PaginationGridBoundColumn DataField="WoCode" HeaderText="单号">
                            </PaginationGrid:PaginationGridBoundColumn>
                            <PaginationGrid:PaginationGridBoundColumn DataField="ReceivedDate" 
                                HeaderText="盘点时间">
                            </PaginationGrid:PaginationGridBoundColumn>
                            <PaginationGrid:PaginationGridBoundColumn DataField="Name" HeaderText="建单人">
                            </PaginationGrid:PaginationGridBoundColumn>
                            <PaginationGrid:PaginationGridBoundColumn DataField="CreateDate" 
                                HeaderText="建单时间">
                            </PaginationGrid:PaginationGridBoundColumn>
                            <PaginationGrid:PaginationGridBoundColumn DataField="Memo" HeaderText="备注">
                            </PaginationGrid:PaginationGridBoundColumn>
                        </Columns>
                    </PaginationGrid:PaginationGrid>
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
